laravel foreach else

58

laravel foreach else -

@forelse($status->replies as $reply)
    <p>{{ $reply->body }}</p>
@empty
    <p>No replies</p>
@endforelse

Comments

Submit
0 Comments